//
//  JHBookDownLoadView.h
//  JuniRengLish_iOS
//
//  Created by revogi on 2019/5/11.
//  Copyright © 2019 revogi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JHBookDetailModel.h"
#import "JHBookItemModel.h"
#import "JHBookItemDataModel.h"
#import "JHWordItemModel.h"
#import "JHWordItemDataModeel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void (^downLoadBtnDidClickBlock)(BOOL status);

@interface JHBookDownLoadView : UIView
@property (strong, nonatomic) IBOutlet UIButton *downLoadBtn;
@property (weak, nonatomic) IBOutlet JHProgressView *progressView;
@property (nonatomic,strong) JHBookDetailModel *bookDetailModel;
@property (nonatomic, strong) UIViewController * currentVC;
/**  是否切换到课文  */
@property (nonatomic, assign) BOOL isBook;

@property (nonatomic,copy) downLoadBtnDidClickBlock downLoadBtnBlock;

//判断是否下载全部课文的mp3和txt文件
- (BOOL)isAllBookExistFile;

@end

NS_ASSUME_NONNULL_END
